banxin{
    width: 1200px;
    margin: 0 auto;
}
#footerTop{
    .footerContainer{
        @extend banxin;
        height: 30px;
        
        .btnContent{
            line-height: 30px;
            margin-right: 60px;
            float: right;
        }
    }
}

// 头部
#top{
    @extend banxin;
    height: 161px;
    display: flex;
    flex-direction: row;
    .logo{        
    img{
        margin-top: 41px;
        width: 217px;
        height: 77px;
        cursor: pointer;
    }    
    }
    .search{
        width: 532px;
        height: 48px;
        margin: 50px 0 0 50px;
        border: 2px solid #000;
        border-radius: 24px;
        position: relative;
        display: flex;
        flex-direction: row;
        i{
            position: absolute;
            font-size: 36px;
            top: 7px;
            left: 5px;
        }
        input{
            margin-left: 45px;
            height: 48px;
            border: none;
            font-size: 16px;
            width: 195px;
        }
        .searchBtn{
            cursor: pointer;
            position: absolute;
            top: 3px;
            right: 5px;
            width: 124px;
            font-size: 14px;
            font-weight: 500;
            line-height: 40px;
            text-align: center;
            color: rgb(67, 32, 12);
            border: 1px solid transparent;
            background-color: rgb(254, 228, 78);
            border-radius: 34px;
        }
    }
    ul{
        margin-top: 50px;
        margin-left: 10px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        li{
            display: inline-block;
            text-align: center;
            margin: 0 10px;
            img{
                height: 40px;
                width: 40px;
            }
            p{
                font-size: 12px;                    
            }
        }
    }
    .userImg{
        text-align: center;
        width: 100px;
        height: 100px; 
        img{
        display: block;
        width: 100%;
        height: 100%;
        margin-top: 20px;
        margin-left: 20px;
        }
        p{
            text-align: center;
            font-size: 16px;
            margin-left: 10px;
        }
    }
    }
    
// 导航部分
#nav{
    background-color: #43240c;
    .navContainer{
        @extend banxin;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        ul{
            
            li{
                cursor: pointer;
                height: 46px;
                width: 166px;
                line-height: 46px;
                font-size: 16px;
                color: white;
                text-align: center;
                &:hover{
                    background-color: #fee44e;
                    color: #000;
                }
            }
        }
        p{
            cursor: pointer;
            height: 46px;
            width: 166px;
            line-height: 46px;
            font-size: 16px;
            color: white;
        }
    }
   
    
}

//购物车主题部分
* {
    padding: 0;
    margin: 0;
  }

  #container {
    width: 1200px;
    margin: 100px auto;
  }

  #container table {
    width: 100%;
    text-align: center;
  }

  #container table tr,
  th,
  td {
    border-bottom: 1px solid red;
  }

  #container table td {
    line-height: 50px;
    width: 100px;
    height: 80px;
  }

  #container table td img {
    height: 50px;
  }

  input {
    width: 20px;
    text-align: center;
  }

  button {
    width: 20px;
  }

  #zj {
    float: right;
    margin-right: 532px;
    margin-top: -85px;
    height: 50px;
    width: 200px;
    text-align: center;
    line-height: 50px;
  }

  #zongjia {
    color: red;
    font-weight: 700;
    
  }


  a {
    text-decoration: none;
  }

  #del {
    width: 40px;
  }
  .box {
    width: 400px;
    height: 400px;
    margin: 20px auto;
    text-align: center;
    display: none;
  }
  .box input {
    text-align: left;
    width: 200px;
    height: 30px;
    margin-top: 20px;
  }
  .box button {
    margin-top: 30px;
    width: 100px;
  }
  .addGoods{
    display: inline-block;
    width: 100px;
    height: 30px;
    margin-left: 30px;
    margin-bottom: 5px;
    color: red;
  }
  .active{
    display: block;
  }




//底部
#footer{    
    height: 240px;
    margin-top: 81px;
    background-color: #484848;
  
    .fContent{
        @extend banxin;                  
        div{
            position: relative;
            height: 112px;
          
            .footerlogo{
                position: absolute;
                width: 274px;
                height: 112px;
                top: 42px;
                left: 0;
            } 
            p{                
                position: absolute;
                text-align: center;
                bottom: 0;
                left: 50%;
                margin-left: -8px;
                a{
                    cursor: pointer;
                    color: white;
                    font-size: 16px;
                }                 
            }
            #foot{
                display: block;
                position: absolute;
                bottom: -115px;
                left: 100px;
                li{
                    float: left;
                    img{
                        width: 22px;
                        height: 22px;
                    }
                    color:white;
                    font-size: 24px;
                }
            }
        }
    }
}
